package com.hp.mvc.service;

import com.hp.mvc.pojo.Book;

import java.util.List;

public interface BookService {

    List<Book> findAll();

    Book findById(Long id);

    void add(Book book);

    void update(Book book);

    void delete(Long id);
}
